package cn.idietrade.idietradeesmodule9000.service.goodsservice;

import cn.idietrade.common.pojo.SecondGoods;
import cn.idietrade.common.utils.SecondPage;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * @author zjy
 * @version 1.0
 * @createTime 2022-12-03 17:42
 * @description
 */

public interface GoodsService {
    //查询所有商品
    void goodsAllAddES(String sengoods,String keword);

    //定时同步数据任务
    void goodsAddES();

    //推荐商品+同城+搜索展示+分类+分页
    SecondPage goodsShow(Integer pageNum, Integer pageSize, String keyword, Integer cityId, Integer goodsType) throws IOException;

}
